<?php

declare(strict_types=1);

namespace App\CustHub\Constants;

use App\Common\Constants\AbstractBaseConstants;
use Hyperf\Constants\Annotation\Constants;

/**
 * 时间间隔
 */
#[Constants]
class DurationUnitConstants extends AbstractBaseConstants
{
    /**
     * @Message("天")
     */
    public const DAY = 0;

    /**
     * @Message("小时")
     */
    public const HOUR = 1;

    /**
     * @Message("分钟")
     */
    public const MINUTE = 2;

    /**
     * @Message("秒钟")
     */
    public const SECOND = 3;
}